package org.fly.dao;

import org.fly.bean.User;
import org.springframework.stereotype.Repository;

/**
 * @author  fly
 */
@Repository
public interface UserDao {
    User findByAccount(String account);

    User findById(String id);


    void insert(User user);

    void update(User user);
}
